package com.qk.management.controller;

import com.qk.common.Result;
import com.qk.management.service.ReportOverviewService;
import com.qk.vo.portal.PortalVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @author lyl
 * @created 2025/10/15 17:05
 * @description
 *
 */
@Slf4j
@RestController
@RequestMapping("/report")
@SuppressWarnings("all")
public class ReportOverviewController {

    @Autowired
    private ReportOverviewService reportOverviewService;

    @GetMapping("/overview")
    public Result reportOverview() {
        log.info("报表总览");
        PortalVO portalVO = reportOverviewService.reportOverview();
        return Result.success(portalVO);
    }
}
